home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000337_news@columbia.edu _Fri Jun 2 07:38:40 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id HAA10356
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 2 Jun 2000 07:38:40 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id HAA00425
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 2 Jun 2000 07:38:39 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id HAA20191
  10.     for kermit.misc@watsun.cc.columbia.edu; Fri, 2 Jun 2000 07:15:29 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: "ralf.strandell" <ralf.strandell@silja.com>
  13. Subject: Re: Translate command does not check the validity of input data?
  14. Message-ID: <YGMZ4.573$xt4.4937@read2.inet.fi>
  15. Date: Fri, 02 Jun 2000 11:15:04 GMT
  16. Organization: Sonera corp Internet services
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. >: Kermits translate command seems to drop one bit _without error messages_.
  21. >: This character is 8 bit 11001000 and after translate it becomes 7 bit
  22. >: 1001000
  23. >: Is this a feature or a bug or something in between?
  24. >:
  25.  
  26. >Under what circumstances does this occur?
  27.  
  28.         Unixware 7.0.1 operating system, Intel processor
  29.         C-Kermit 7.0.197 built with default ini-file location
  30.  
  31.         The translate command has a serious bug so we applied the following
  32.         temporary bug fix:
  33.  
  34.         Command used:
  35.                 set file ucs byte-order big-endian
  36.                 translate infile swedish latin1 outfile
  37.                 set file ucs byte-order little-endian
  38.  
  39.         And now translate works just fine (if the data is free from errors)
  40.  
  41.         But if the infile ( supposed to be 7 bit swedish ascii )
  42.         contains a character that is 8 bits then
  43.         this command quietly strips the 8th bit and somebody
  44.         is going to have a funny name on his magazine/card/etc.
  45.  
  46.         Because kermit does not "detect" this, we have to
  47.         check the data by other means before sending it further.
  48.         Not a big problem, though.
  49.  
  50.  
  51. >I would expect that any characters that have the 8th bit set would have
  52. >those bits stripped or the characters replaced by '?' when the input
  53. >character set is a 7-bit character set.
  54.  
  55. This is acceptable, but it would be great if things lite this would be
  56. echoed
  57. to screen or written to a log. Such a feature could be activated for example
  58. when a certain level of debugging is requested on command line.
  59. ( maybe it is allready ? )
  60.  
  61.                 Ralf